<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
<?php $this->placeholder('onReady')->captureEnd() ?>


<div class="contenedor_tablesorter">

<?=$this->msgPost?>
<?php echo $this->insertarFila($this->controllerName,$this->idZona,null,'Añadir Línea Teléfonica');?>

<?if($this->rows):?>
<table id="<?= $this->id_tablesorter?>" width="100%" class=""> 
    <caption>
       <div id="total_table_filter" style="float: right;">Total <span class="filtradas"><?=count($this->rows)?></span></div>    
    </caption>
    <thead>
    <tr>
        <?foreach($this->columnas as $v):?>
            <th><?php echo $this->translate($v['header']);?></th>
        <?endforeach?>
        <th class="filter-false"></th>
    </tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
    </tbody>
</table>
<?endif?>
</div>